home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / serial / modemsta.000 / modemsta / README.modemstat < prev   
Text File  |  1995-09-20  |  2KB  |  57 lines

  1.  
  2.                      Modem Status Lights For Linux Console
  3.                      -------------------------------------
  4.  
  5.  
  6. What it does
  7. ~~~~~~~~~~~~
  8. This very simple utility puts a modem box at the top of the Linux console
  9. screen. The serial lines monitored are RTS, CTS, DSR, DTR, CD, and RING.
  10. TR and RD are not monitored.
  11.  
  12. The main purpose of modemstat is to let you know that you are still online.
  13. I have found that when I am using the Internet via a SLIP connection, I
  14. occasionally get cut off. The status box at the top of the screen lets me
  15. know as soon as I am offline.
  16.  
  17. Modemstat is similar to and inspired by statserial by Jeff Tranter.
  18. However, statserial doesn't run as a daemon, doesn't provide a small
  19. and convenient display, and exits when you hang up. I wrote modemstat from
  20. scratch once I saw how easy such a program would be to write. I'm new
  21. to Unix programming, so Modemstat doesn't use anything fancy, it uses
  22. simple ANSI escape sequences. There is a *lot* of room for improvement.
  23. I would really like to be able to add TR/RD lights (anyone care to do
  24. this???), and use ncurses.
  25.  
  26.  
  27. Using modemstat
  28. ~~~~~~~~~~~~~~~
  29. USAGE:  modemstat [/dev/devicename]
  30.  
  31. If the device name is not specified, it defaults to /dev/modem.
  32.  
  33. The display shows the name of the device being monitored, and is updated
  34. once per second. Green means the signal is present, red means it is not.
  35. Yellow means that there was some problem obtaining the status of the
  36. device. In this case, the device is closed and re-opened.
  37.  
  38. Since modemstat runs as a daemon, you will have to kill it with the kill
  39. command if you want to get rid of it. The PID is displayed in the title
  40. bar along with the device and online status.
  41.  
  42. Modemstat does not work properly of you are using it in a shell in
  43. X-Windows. It works only in a regular console (anyone want to fix this?).
  44.  
  45. That's all folks
  46. ~~~~~~~~~~~~~~~~
  47. Modemstat is public domain. I accept no responsibility for it's performance
  48. or lack thereof. Use is entirely at your own risk. If you update modemstat
  49. (which should be very easy to do) I would appreciate it if you sent me the
  50. updated version!
  51.  
  52. Send bug reports, comments, updated versions, etc, to madsci@mi.net
  53.  
  54. --------------
  55. Doug McLean
  56. madsci@mi.net
  57.